Markdown 语法
区块引用
1 2 3 4 5 6 7
| >>>> 嵌套引用 >>> 嵌套引用 >> 嵌套引用 > 区块引用
|
效果:
嵌套引用
嵌套引用
嵌套引用
区块引用
标题
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 Alternatively, for H1 and H2, an underline-ish style: Alt-H1 ====== Alt-H2 ------
|
效果:
H1
H2
H3
H4
H5
H6
Alternatively, for H1 and H2, an underline-ish style:
Alt-H1
Alt-H2
图片
1 2 3 4 5 6 7 8 9
| 悬停以查看标题文字 Inline-style:  Reference-style: ![alt text][logo] [logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2"
|
效果:
悬停以查看标题文字
Inline-style:

Reference-style:

超链接
1 2
| 欢迎来到[勒趣](https://i-lsy.github.io/) 欢迎来到[勒趣](https://i-lsy.github.io/ "勒趣")
|
效果:
欢迎来到勒趣
欢迎来到勒趣
1 2 3 4 5 6 7
| 我经常去的几个网站[勒趣][1]、[勒趣][2]以及[自己的博客][3] [勒趣 笔记][2]是一个不错的[勒趣][]。 [1]:http://www.google.com "Google" [2]:http://www.leanote.com "Leanote" [3]:http://http://blog.leanote.com/freewalk "梵居闹市" [网站]:http://http://blog.leanote.com/freewalk
|
效果:
我经常去的几个网站勒趣、勒趣以及自己的博客
勒趣 笔记是一个不错的勒趣。
1 2
| <https://i-lsy.github.io/> <test@test.com>
|
效果:
https://i-lsy.github.io/
test@test.com
代码和语法突出显示
代码块由具有三个反向标记的行屏蔽,或者缩进为四个空格。我建议只使用fenced代码块 - 它们更容易,只有他们支持语法高亮。
1 2 3 4 5
| ```javascript var s = "JavaScript syntax highlighting"; alert(s); ```
|
1 2 3 4
| ```python s = "Python syntax highlighting" print s ```
|
1 2 3 4
| ``` No language indicated, so no syntax highlighting. But let's throw in a <b>tag</b>. ```
|
效果:
1 2
| var s = "JavaScript syntax highlighting"; alert(s);
|
1 2
| s = "Python syntax highlighting" print s
|
1 2
| No language indicated, so no syntax highlighting. But let's throw in a <b>tag</b>.
|
表
代码块由具有三个反向标记的行屏蔽,或者缩进为四个空格。我建议只使用fenced代码块 - 它们更容易,只有他们支持语法高亮。
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| Colons can be used to align columns. | Tables | Are | Cool | | ------------- |:-------------:| -----:| | col 3 is | right-aligned | | | col 2 is | centered | | | zebra stripes | are neat | | The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. Markdown | Less | Pretty --- | --- | --- *Still* | `renders` | **nicely** 1 | 2 | 3
|
冒号可用于对齐列。
| Tables |
Are |
Cool |
| col 3 is |
right-aligned |
|
| col 2 is |
centered |
|
| zebra stripes |
are neat |
The outer pipes (|) are optional, and you don’t need to make the raw Markdown line up prettily. You can also use inline Markdown.
| Markdown |
Less |
Pretty |
| Still |
renders |
nicely |
| 1 |
2 |
3 |
水平线
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| 三个或更多... --- 连字号 *** 星号 ___ 下划线 <hr />
|
效果:
三个或更多…
连字号
星号
下划线